import { http } from '@/utils/http'

// 查询在线用户列表
export const listOnline = (params?: object) => {
  return http.request<any>('get', '/system/online/list', { params })
}

// 强退用户
export const forceLogout = (tokenId?: string) => {
  return http.request<any>('delete', '/system/online/' + tokenId)
}
